package xyz.zdsoft.homework_manage_module.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel(description= "返回查询信息")
public class RestViewJob implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "课程名称")
    private String courseName;
    @ApiModelProperty(value = "作业主题")
    private String title;
    @ApiModelProperty(value = "计划完成时间")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm" ,timezone = "GMT+8")
    private LocalDateTime completeDate;
    @ApiModelProperty(value = "组名")
    private List<String> teamName;
    @ApiModelProperty(value = "作业类型，参见WorkType枚举;0平时作业，1阶段性作业，2最终交互作业")
    private String workType;
    @ApiModelProperty(value = "学生")
    private List<String> studentName;
    @ApiModelProperty(value = "作业类容")
    private String appendsLink;
}
